package com.zline.foodraise.constant;

/**
 * Created by heshantao on 15/7/5.
 */
public class Constant {
    //微信分享APP_ID
    public static final String WX_APP_ID = "wxcea4117e567e5f00";
    //android 端访问
    public static final int ACCESSTYPE_ANDROID = 2;
    //客户端访问类型
    public static final String ACCESSTYPE = "accessType";
    //TOken
    public static final String ACCESS_TOKEN = "accessToken";
    public static final String AVATAR_PICURL = "avatarPicUrl";

    /*
    * 数据库
     */
    //数据库名称
    public static final String DB_NAME = "zline.db";
    //数据库版本
    public static final int DB_VERSION = 2;
    public static final String PROINCE_ID = "provinceId";
    public static final String City = "city";
    public static final String PROVINCE = "province";
    /*
  * 数据库
   */

    //APP名称
    public static final String APP_NAME = "food_raise";
    //拍照请求码
    public static final int REQUEST_CODE_CAMERA = 1;
    //图库文件请求码
    public static final int REQUEST_CODE_FILE = 2;
    //图片剪切的返回码
    public static final int REQUEST_CODE_CROP = 3;
    //默认的添加图片的uri 地址
    public static final String DEFAULT_PIC_URI = "default";
    public static final String PHOTOS = "photos";
    public static final String FILE_HEAD = "file://";
    //用户用户头像，背景，一些动态的临时文件存储目录
    public static final String TEMP = "temp";

    public static final String EXIT_ACTION = "com.zline.foodRaise";


    //Poi 容量
    public static final int POI_CAPACITY = 30;

    //动态列表中标识 商品图片、赞、评论的列表
    public static final int DYNAMIC_COMMENT_ITEM = 0;
    public static final int DYNAMIC_PICT_FLAG = 1;
    public static final int DYNAMIC_SUPPORT_FLAG = 2;
    public static final int DYNAMIC_COMMENT_FLAG = 3;
    public static final int DYNAMIC_ADD_COMMENT_FLAG = 4;
    //跳入其他人得主页面
    public static final int DYNAMIC_THIRD_PERSONAL_FLAG = 5;

    //webView
    public static final String CACHE = "cache";
    public static final String CACHE1 = "Cache";
    public static final String DATABASE = "database";
    public static final String WEBVIEW = "webview";
    public static final String WEBVIEW_CACHE = "webviewCache";
    //用于判断webView 是否滑动
    public static final int WEBVIEW_SCROLL_Y = 1;
    public static final int RECYLCERVIEW_SCROLL_Y = 0;
    //webView

    //WEB 根目录
    //public static final String ROOT_URL = "http://mobile.line0.com/zc/";
    //测试默认根目录
    public static final String ROOT_URL = "http://mobile.line0.com/test/zc/";
    //首页地址
    public static final String HOME_PAGE_URL = "zc-list.html?isEmbed=1";
    //吃地址
    public static final String EAT_PAGE_URL = "product-list.html?isEmbed=1";
    //吃详情地址
    public static final String PRODUCT_DETAILE_URL = "product-detail.html";
    //筹详情地址
    public static final String PROJECT_DETAILE_URL = "zc-detail.html";
    //筹订单地址
    public static final String PROJECT_ORDER_URL = "cfOrder-list.html?isEmbed=1&orderStatus=";
    //商品订单地址
    public static final String PRODUCT_ORDER_URL = "ccOrder-list.html?isEmbed=1&orderStatus=";
    //支付成功页面地址
    public static final String PAY_RESULT_SUCCESS_URL = "pay-success.html";
    //支付失败页面地址
    public static final String PAY_RESULT_FAIL_URL = "pay-fail.html";
    //筹订单详情地址
    public static final String PROJECT_ORDER_DETAIL_DETAIL_URL = "cfOrder-detail.html";
    //商品订单详情地址
    public static final String PRODUCT_ORDER_DETAIL_DETAIL_URL = "ccOrder-detail.html";


    //网络请求参数
    //初始化参数
    public static final String PARAMS = "params";
    public static final String RESULT_CODE = "resultCode";
    public static final String USER_BEAN = "userBean";
    //登录
    public static final String MOBILE = "mobile";
    public static final String AUTH_CODE = "valiCode";
    //登录

    //关注粉丝列表
    public static final int ATTENTION_FALG = 1;
    public static final int FANS_FALG = 2;
    public static final int PAGE_ROWS_NUMBER = 20;
    public static final String USER_ID = "userId";
    public static final String PAGE_ROWS = "pageRows";
    public static final String CUR_PAGE = "curPage";
    public static final String USER_BEAN_PAGE = "userBeanPage";
    public static final String LIST = "list";
    public static final String PAGE_COUNT = "pageCount";
    public static final String TO_USER_ID = "toUserId";
    public static final String OPERATE_TYPE = "operateType";
    //关注粉丝列表

    //meFragment
    public static final String PRODUCT_BEAN_PAGE = "productBeanPage";
    public static final String PROJECT_BEAN_PAGE = "projectBeanPage";
    public static final String TOTAL_COUNT = "totalCount";
    public static final String IS_ATTENTION = "isAttention";
    //meFragment

    //地址
    public static final String PRE_ADDR = "preAddr";
    public static final String SUB_ADDR = "subAddr";
    public static final String DETAIL_ADDR = "detailAddr";
    public static final String RECEIVER_MOBILE = "receiverMobile";
    public static final String RECEIVER_NAME = "receiverName";
    public static final String LON_POINT = "lonPoint";
    public static final String LAT_POINT = "latPoint";
    public static final int ADD_ADDR_FLAG = 1;
    public static final int MODIFY_ADDR_FLAG = 2;
    //地址

    //商品评价
    public static final String PRODUCT_ID = "productId";
    public static final String ORDER_ID = "orderId";
    public static final String COMMENT_STARS_DTO = "commentStarsDto";
    public static final String WEIGHT = "weight";
    public static final String PICTURE = "picture";
    public static final String PACKING = "packing";
    public static final String TASTE = "taste";
    //商品评价

    //签名
    public static final String SIGNATURE = "signature";
    //签名

    //个人说明
    public static final String PERSONAL_DECLARE = "userDesc";
    //个人说明

    //个人性别
    public static final String SEX = "sex";
    //个人性别

    //钱包
    public static final String RED_WALLET_BALANCE = "cfWalletBalance";
    public static final String ACCOUNT_BALANCE = "accountBalance";
    //钱包

    //店铺
    public static final String SHOP_APPLY_BEAN = "shopApplyBean";
    public static final String CITY_ID = "cityId";
    public static final String SHOP_NAME = "shopName";
    public static final String ADDRESS = "address";
    public static final String CONTACT = "contact";
    //店铺

    //标签
    public static final String RESOURCE_TYPE = "resourceType";
    public static final String RESOURCEID = "resourceId";
    public static final String TAG_BEAN_LIST = "tagBeanList";
    public static final String TAG_CONTENT = "content";
    public static final String TAG_DTO_LIST = "tagDtoList";
    //标签

    //众筹产品下面的订单
    public static final String PROJECT_ID = "projectId";
    public static final String CF_ORDER_BEAN_PAGE = "cfOrderBeanPage";
    public static final String ORDER_STATUS = "orderStatus";
    public static final String SELECT_STATUS = "selectStatus";
    public static final String RECEIVE_TYPE = "receiveType";
    public static final String CF_ORDER_ID = "cfOrderId";
    public static final String BUSINESS_USER_ID = "businessUserId";
    //众筹产品下面的用户

    //图片上传
    public static final String FILE = "file";
    public static final String PICTURE_SUFFIX = "pictureSuffix";
    public static final String PICTURE_TYPE = "pictureType";
    //图片上传

    //昵称
    public static final String NICK_NAME = "nickName";
    //昵称

    //交易明细
    public static final String USER_ACCOUNT_DETAIL_PAGE = "userAccountDetailPage";
    public static final String DETAIL_TYPE = "detailType";
    //交易明细

    //消息中心
    public static final String SYS_PUSH_BEAN_PAGE = "sysPushBeanPage";
    //消息中心

    //活动公告
    public static final String NOTICE_BEAN_PAGE = "noticeBeanPage";
    public static final String NOTICE_ID = "noticeId";
    public static final String NOTICE_BEAN = "noticeBean";
    //活动公告

    //消息活动公告小红点信息
    public static final String RED_POINT_BEAN = "redPointBean";
    //消息活动公告小红点信息

    //订单小红点信息
    public static final String ORDER_RED_POINT_BEAN = "orderRedPointBean";
    //订单小红点信息

    //模板
    public static final String TEMPLATE_BEAN_PAGE = "templateBeanPage";
    public static final String SHARE = "share";
    //模板

    //动态
    public static final String MOMENT_BEAN_PAGE = "momentBeanPage";
    public static final String MOMENT_BEAN = "momentBean";
    public static final String POSITION = "position";
    public static final String SUPPORT_CHANGE = "supportChange";
    public static final String COMMENT_CHANGE = "commentChange";
    public static final String FULL_LIST_SIZE = "fullListSize";
    public static final String TOTLE_COMMENT_COUNT = "commentTotleCount";

    //赞状态
    public static final String SUPPORT_STATUS = "supportStauts";
    public static final String DYNAMIC_COMMENT_LIST = "dynamicCommentlist";
    public static final String DYNAMIC_COMMENT_CONTENT = "commentContent";
    //赞数量字段
    public static final String MOMENT_PRAISE_COUNT = "momentPraiseCount";

    //评论
    public static final String COMMENT_BEAN_PAGE = "commentBeanPage";
    public static final String FLAG = "flag";
    //评论列表
    public static final String PIC_URL_LIST = "picUrlList";
    public static final String REPLY_USER_ID = "replyUserId";
    public static final String REPLY_NICK_NAME = "replyNickName";
    public static final String COMMENT_ID = "commentId";
    public static final String COMMENT_PRAISE_COUNT = "commentPraiseCount";
    //普通评论列表标识
    public static final int COMMENT_FLAG = 1;
    //热门评论列表标识
    public static final int HOT_COMMENT_FLAG = 2;
    //动态详情中评论列表标识
    public static final int DETAIL_DYNAMIC_COMMENT_FLAG = 3;
    //发表评论
    public static final int ADD_COMMENT_FLAG = 1;
    //回复评论
    public static final int REPLY_COMMENT_FLAG = 2;
    //评论列表中的图片Item
    public static final int COMMENT_LIST_PICS_FLAG = 3;
    //热门评论列表中的图片Item
    public static final int HOT_COMMENT_LIST_PICS_FLAG = 4;
    //评论列表中的Item
    public static final int COMMENT_LIST_ITEM_FLAG = 5;
    //热门评论列表中的Item
    public static final int HOT_COMMENT_LIST_ITEM_FLAG = 6;
    //热门评论列表中的图片Item
    public static final int DETAIL_DYNAMIC_COMMENT_LIST_PICS_FLAG = 7;
    //评论

    //动态列表中每页加载的数量
    public static final int DYNAMIC_PAGE_ROWS_NUMBER = 10;
    //动态ID
    public static final String MOMENT_ID = "momentId";
    //2-项目,3-商品,4-动态
    //表示动态类型
    public static final int DYNAMIC_TYPE = 4;
    //2-项目,3-商品,4-动态
    //图片上传返回的Uri
    public static final String URL = "url";

    //用户地址列表
    public static final String USER_ADDRESS_BEAN_LIST = "userAddressBeanList";
    public static final String USER_ADDRESS_ID = "userAddressId";


    //进入profile 页
    public static final int WEB_PROFILE_FLAG = 1;
    //进入用户关注页
    public static final int WEB_ATTENTION_FLAG = 2;
    //进入评论列表页
    public static final int WEB_COMMENT_LIST_FLAG = 3;
    //进入发表评论页
    public static final int WEB_ADD_COMMENT_FLAG = 4;
    //调用支付接口
    public static final int WEB_PAY_FLAG = 5;
    //调用分享
    public static final int WEB_SHARE_FLAG = 6;
    //调用设置地址
    public static final int WEB_SET_ADDR = 7;
    //登录
    public static final int WEB_LOGIN = 8;
    //地址设置跳转前一页
    public static final int WEB_JUMP_LAST_PAGE = 9;
    //跳转筹列表页
    public static final int WEB_JUMP_HOME_PAGE = 10;
    //跳转吃列表页
    public static final int WEB_JUMP_EAT_PAGE = 11;
    //获得用户对当前筹的关注状态
    public static final int WEB_PROJECT_ATTENTION = 12;
    //收货方式和预约是否保存成功
    public static final int WEB_SENDTYPE_APPOINTMENT = 13;
    //网络请求参数

    //支付
    public static final String ONLINE_PAY_METHOD = "onlinePayMethod";
    //微信支付
    public static final String PAY_INFO = "payInfo";
    public static final String PAY_STRING = "payString";
    public static final String APP_ID = "appId";
    public static final String PACKAGE_WX = "packageWX";
    //订单编号
    public static final String ORDER_CODE = "orderCode";
    public static final String TIME_STAMP = "timeStamp";
    public static final String SIGN = "sign";
    public static final String NONCESTR = "nonceStr";
    public static final String PREPAY_ID = "prepayId";
    public static final String PARTNER_ID = "partnerId";
    public static final String PROJECT_iD = "projectid";
    //支付

    //分享
    //分享方式
    //链接分享
    public static final int URL_SHARE_TYPE = 1;
    //图片分享
    public static final int PIC_SHARE_TYPE = 2;
    //分享方式


    //分享链接
    public static final String SHARE_URL = "http://mobile.line0.com/zline/wx/mpOAuth/mpOAuth?redirectUrl=http%3A%2F%2Fmobile.line0.com%2Fzc%2Fdownload.html";
    //分享

    //ME碎片
    public static final int ME_FRAGMENT_REQUEST_CODE = 1;
    //主Activity中
    public static final int MAIN_ACTIVITY_REQUEST_CODE = 2;
    //签名设置返回码
    public static final int SIGNATURE_RESULT_CODE = 2;
    //标签设置返回码
    public static final int TAG_RESULT_CODE = 3;
    //昵称设置返回码
    public static final int NICK_NAME_RESULT_CODE = 4;
    public static final int PERSONAL_INFO_REQUEST_CODE = 5;
    //动态中的请求码
    public static final int DYNAMIC_REQUEST_CODE = 6;
    //评论中的结果码
    public static final int COMMENT_RESULT_CODE = 7;
    //动态中的结果码
    public static final int DYNAMIC_RESULT_CODE = 8;
    //HomePage碎片
    public static final int HOME_PAGE_FRAGMENT_REQUEST_CODE = 9;
    //吃碎片
    public static final int EAT_FRAGMENT_REQUEST_CODE = 11;
    //评论列表请求码
    public static final int COMMENT_LIST_REQUEST_CODE = 12;
    //添加修改地址请求码
    public static final int ADD_MODIFY_ADDR_REQUEST_CODE = 13;
    //添加修改地址返回码
    public static final int ADD_MODIFY_ADDR_RESULT_CODE = 14;
    //地址列表请求码
    public static final int ADDR_LIST_REQUEST_CODE = 15;
    //地址设置请求码
    public static final int ADDR_SET_REQUEST_CODE = 16;
    //地址设置返回码码
    public static final int ADDR_SET_RESULT_CODE = 17;
    //城市选择的返回码
    public static final int CITY_CHOOSE_RESULT_CODE = 18;
    //省份选择的返回码
    public static final int PROVINCE_CHOOSE_RESULT_CODE = 18;
    //省份选择的返回码
    public static final int PROVINCE_CHOOSE_REQUEST_CODE = 19;
    //筹详情请求码
    public static final int PROJECT_DETAIL_REQUEST_CODE = 20;
    //登录返回码码
    public static final int LOGIN_RESULT_CODE = 21;
    //商品详情请求码
    public static final int PRODUCT_DETAIL_REQUEST_CODE = 22;
    //订单支付请求码
    public static final int ORDER_GENERATE_REQUEST_CODE = 23;
    //订单地址请求码
    public static final int ORDER_ADDR_CHOOSE_REQUEST_CODE = 24;
    //订单地址返回码
    public static final int ORDER_ADDR_CHOOSE_RESULT_CODE = 25;
    //订单评论返回码
    public static final int ORDER_COMMENT_RESULT_CODE = 26;
    //筹订单请求码
    public static final int PROJECT_ORDER_REQUEST_CODE = 27;
    //商品订单请求码
    public static final int PRODUCT_ORDER_REQUEST_CODE = 28;
    //动态列表Fragment 请求码
    public static final int DYNAMIC_FRAGMENT_REQUEST_CODE = 29;
    //动态详情结果码
    public static final int DETAIL_DYNAMCI_REQUEST_CODE = 30;
    //个人说明结果码
    public static final int PERSONAL_DECALER_RESULT_CODE = 31;
    //其他人主页的请求码
    public static final int THIRD_PERSON_REQUEST_CODE = 32;
    //筹关注的请求码
    public static final int PROJECT_ATTENTION_REQUEST_CODE = 33;
    //筹关注的请求码
    public static final int PROJECT_SPECIFICATION_REQUEST_CODE = 34;
    //筹订单详情的请求码
    public static final int PROJECT_ORDER_DETAIL_REQUEST_CODE = 35;
    //预约的返回码
    public static final int APPOINTMENT_RESULT_CODE = 36;
    //意见反馈中的结果码
    public static final int FEEDBACK_RESULT_CODE = 37;
    //签名中的Extra key
    public static final String VALUE = "value";

    //推送
    public static final String SYS_PUSH = "sysPush";
    public static final String NOTICE = "notice";
    //推送

    //百度移动统计锚点
    public static final String TEMPLATE_PIC_CHOOSE = "模板照片选择页";
    public static final String TEMPLATE_MADE = "制作模板页";
    public static final String RAISE_LIST = "筹列表";
    public static final String PRODUCT_LIST = "吃列表";
    public static final String DETAIL_DYNAMIC = "动态详情";
    public static final String DYNAMIC_LIST = "动态列表";
    public static final String PROJECT_ORDER_LIST = "筹订单列表";
    public static final String PRODUCT_ORDER_LIST = "吃订单列表";
    public static final String PRODUCT_ORDER_COMMENT = "商品订单评价";
    public static final String TEMPLATE_CHOOSE = "模板选择页";
    public static final String THIRD_PERSONAL = "个人profile页";
    public static final String SUPPORT_OR_PROJECT_ATTENTION = "赞、筹用户关注列表";
    public static final String ATTENTION_FANS_LIST = "用户关注、粉丝列表";
    //百度移动统计锚点


}
